<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title></title>
		<script type="text/javascript" src="http://www.google.com/jsapi"></script>
    <script type="text/javascript">
google.load('friendconnect', '0.8');
    </script>
		<script type="text/javascript" src="./makeRequestProxy.js"></script>
		<script type="text/javascript" src="http://d1lzci7p8hi5b7.cloudfront.net/opensocial-jquery.js"></script>
    <script type="text/javascript">
google.friendconnect.container.setNoCache(1);
google.friendconnect.container.setParentUrl('/svn/trunk/');
google.friendconnect.container.initOpenSocialApi({
  site: '05678604299044637748',
  onload: init
});

function init() {
  $('#xdrequest').click(function() {
    $.ajax({
      url : $('#url').val(),
      method : 'GET'
    }).next(function(data) {
      $('#result').val(data); 
    });
  });
}
</script>
	</head>
	<body>
    <input type="text" value="http://www.google.com" id="url" size="80" />
    <input type="button" id="xdrequest" value="Fetch" />
    <hr />
    <textarea id="result" style="width:100%;height:400px;"></textarea>
	</body>
</html>

